[INFO] fetching crate rtf-parser-tt 0.5.0...
[INFO] testing rtf-parser-tt-0.5.0 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate rtf-parser-tt 0.5.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate rtf-parser-tt 0.5.0
[INFO] finished tweaking crates.io crate rtf-parser-tt 0.5.0
[INFO] tweaked toml for crates.io crate rtf-parser-tt 0.5.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rtf-parser-tt 0.5.0 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rtf-parser-tt 0.5.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tsify-macros v0.4.5
[INFO] [stderr]   Downloaded serde_derive_internals v0.28.0
[INFO] [stderr]   Downloaded gloo-utils v0.1.7
[INFO] [stderr]   Downloaded tsify v0.4.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 73fbda659c537abd49b8140a7c0d4c76da397557073216ff3885f837709aefa8
[INFO] running `Command { std: "docker" "start" "-a" "73fbda659c537abd49b8140a7c0d4c76da397557073216ff3885f837709aefa8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "73fbda659c537abd49b8140a7c0d4c76da397557073216ff3885f837709aefa8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73fbda659c537abd49b8140a7c0d4c76da397557073216ff3885f837709aefa8", kill_on_drop: false }`
[INFO] [stdout] 73fbda659c537abd49b8140a7c0d4c76da397557073216ff3885f837709aefa8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2826f5f9382df6868b65e14ce4dd853a6fa0c81c79ff0797ea5397dacb0a1670
[INFO] running `Command { std: "docker" "start" "-a" "2826f5f9382df6868b65e14ce4dd853a6fa0c81c79ff0797ea5397dacb0a1670", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rtf-parser-tt v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `get_next_token` is never used
[INFO] [stdout]    --> src/parser.rs:307:8
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl<'a> Parser<'a> {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 307 |     fn get_next_token(&'a self) -> Option<&'a Token<'a>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_only_whitespace` is never used
[INFO] [stdout]  --> src/utils.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait StrUtils {
[INFO] [stdout]   |           -------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 4 |     fn is_only_whitespace(&self) -> bool;
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lexer.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn scan(src: &str) -> Result<Vec<Token>, LexerError> {
[INFO] [stdout]    |                      ^^^^                ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn scan(src: &str) -> Result<Vec<Token<'_>>, LexerError> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lexer.rs:92:24
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn tokenize(slice: &str) -> Result<Vec<Token>, LexerError> {
[INFO] [stdout]    |                        ^^^^                ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn tokenize(slice: &str) -> Result<Vec<Token<'_>>, LexerError> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub fn get_tokens(&self) -> Vec<&Token> {
[INFO] [stdout]     |                       ^^^^^         ^^^^^^
[INFO] [stdout]     |                       |             ||
[INFO] [stdout]     |                       |             |the same lifetime is hidden here
[INFO] [stdout]     |                       |             the same lifetime is elided here
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub fn get_tokens(&self) -> Vec<&Token<'_>> {
[INFO] [stdout]     |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tokens.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn from(input: &str) -> Result<ControlSymbol, LexerError> {
[INFO] [stdout]     |                        ^^^^            ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn from(input: &str) -> Result<ControlSymbol<'_>, LexerError> {
[INFO] [stdout]     |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.05s
[INFO] running `Command { std: "docker" "inspect" "2826f5f9382df6868b65e14ce4dd853a6fa0c81c79ff0797ea5397dacb0a1670", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2826f5f9382df6868b65e14ce4dd853a6fa0c81c79ff0797ea5397dacb0a1670", kill_on_drop: false }`
[INFO] [stdout] 2826f5f9382df6868b65e14ce4dd853a6fa0c81c79ff0797ea5397dacb0a1670
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0956cd0af362cdb99242d1995a508f73d14e328f9065d2d450ca1402b7a90509
[INFO] running `Command { std: "docker" "start" "-a" "0956cd0af362cdb99242d1995a508f73d14e328f9065d2d450ca1402b7a90509", kill_on_drop: false }`
[INFO] [stdout] warning: method `get_next_token` is never used
[INFO] [stdout]    --> src/parser.rs:307:8
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl<'a> Parser<'a> {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 307 |     fn get_next_token(&'a self) -> Option<&'a Token<'a>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_only_whitespace` is never used
[INFO] [stdout]  --> src/utils.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait StrUtils {
[INFO] [stdout]   |           -------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 4 |     fn is_only_whitespace(&self) -> bool;
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lexer.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn scan(src: &str) -> Result<Vec<Token>, LexerError> {
[INFO] [stdout]    |                      ^^^^                ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn scan(src: &str) -> Result<Vec<Token<'_>>, LexerError> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lexer.rs:92:24
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn tokenize(slice: &str) -> Result<Vec<Token>, LexerError> {
[INFO] [stdout]    |                        ^^^^                ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn tokenize(slice: &str) -> Result<Vec<Token<'_>>, LexerError> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub fn get_tokens(&self) -> Vec<&Token> {
[INFO] [stdout]     |                       ^^^^^         ^^^^^^
[INFO] [stdout]     |                       |             ||
[INFO] [stdout]     |                       |             |the same lifetime is hidden here
[INFO] [stdout]     |                       |             the same lifetime is elided here
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub fn get_tokens(&self) -> Vec<&Token<'_>> {
[INFO] [stdout]     |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tokens.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn from(input: &str) -> Result<ControlSymbol, LexerError> {
[INFO] [stdout]     |                        ^^^^            ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn from(input: &str) -> Result<ControlSymbol<'_>, LexerError> {
[INFO] [stdout]     |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rtf-parser-tt v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read `src/../resources/tests/test-file.rtf`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/utils.rs:45:9
[INFO] [stdout]     |
[INFO] [stdout]  45 |         include_str!(concat!("../resources/tests/", $filename))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/parser.rs:558:28
[INFO] [stdout]     |
[INFO] [stdout] 558 |         let file_content = include_test_file!("test-file.rtf");
[INFO] [stdout]     |                            ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test_file` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../resources/tests/list-item.rtf`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/utils.rs:45:9
[INFO] [stdout]     |
[INFO] [stdout]  45 |         include_str!(concat!("../resources/tests/", $filename))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/parser.rs:614:28
[INFO] [stdout]     |
[INFO] [stdout] 614 |         let file_content = include_test_file!("list-item.rtf");
[INFO] [stdout]     |                            ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test_file` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../resources/tests/file-with-image.rtf`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/utils.rs:45:9
[INFO] [stdout]     |
[INFO] [stdout]  45 |         include_str!(concat!("../resources/tests/", $filename))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/parser.rs:631:27
[INFO] [stdout]     |
[INFO] [stdout] 631 |         let rtf_content = include_test_file!("file-with-image.rtf");
[INFO] [stdout]     |                           ----------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test_file` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlWord` and `Property`
[INFO] [stdout]    --> src/lexer.rs:166:25
[INFO] [stdout]     |
[INFO] [stdout] 166 |     use crate::tokens::{ControlWord, Property};
[INFO] [stdout]     |                         ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rtf-parser-tt` (lib test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0956cd0af362cdb99242d1995a508f73d14e328f9065d2d450ca1402b7a90509", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0956cd0af362cdb99242d1995a508f73d14e328f9065d2d450ca1402b7a90509", kill_on_drop: false }`
[INFO] [stdout] 0956cd0af362cdb99242d1995a508f73d14e328f9065d2d450ca1402b7a90509
